package cc.linker.steplink.crm.commons.yzj;

import lombok.Data;

import java.util.UUID;

/**
 * @Author: CKQ
 * @DateTime: 2020/12/3 9:26
 * @Description: TODO
 */
@Data
public class YzjPointPo {
    //member_code	String	Y	32
    //Member unique code that assign by 3rd party application.
    private String customerId;

    //action_type_code	String	Y	10
    //'add':加积分，'deduct':减积分
    private String actionTypeCode;

    //point_amount	Int	Y	- 调整的积分值
    private int pointAmount;

    //effective_date	String	Y	25
    //生效时间 YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:33+05:30)
//    private String effectiveDate;

    //expired_date	String	N	25
    //有效期 YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:33+05:30) action_type_code='add'时必填
//    private String expiredDate;

    //point_biz_code	String	Y	32 唯一操作码 uuid
    private String pointBizCode = UUID.randomUUID().toString();

    //channel_code	String	Y	32 固定值
    private String channelCode="EC";

    //备注
    private String remark;

}
